curl --request POST \
--url https://backend.codedamn.com/api/public/get-lab-details \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"labId": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"labTitle": "<string>",
"labDescriptionMarkdown": "<string>",
"defaultGitRepositoryUrl": "<string>",
"defaultGitRepositoryBranchName": "<string>",
"evaluationScriptBashCommand": "<string>",
"evaluationScriptTestFileContent": "<string>",
"testCases": [
{
"testCaseId": "<string>",
"type": "SelfEvaluative",
"markdownLabel": "<string>",
"markdownHint": "<string>"
}
]
}
}
}
]
Get details of a single interactive lab from its ID
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-lab-details \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"labId": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"labTitle": "<string>",
"labDescriptionMarkdown": "<string>",
"defaultGitRepositoryUrl": "<string>",
"defaultGitRepositoryBranchName": "<string>",
"evaluationScriptBashCommand": "<string>",
"evaluationScriptTestFileContent": "<string>",
"testCases": [
{
"testCaseId": "<string>",
"type": "SelfEvaluative",
"markdownLabel": "<string>",
"markdownHint": "<string>"
}
]
}
}
}
]
API Request Body
The body is of type object
.
API Response Body
The response is of type object[]
.